projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f7019e
)
(doc-view-sentinel): Strip trailing newline from event message.
author
Chong Yidong
<cyd@stupidchicken.com>
Sat, 14 Mar 2009 02:12:06 +0000
(
02:12
+0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Sat, 14 Mar 2009 02:12:06 +0000
(
02:12
+0000)
lisp/doc-view.el
patch
|
blob
|
history
diff --git
a/lisp/doc-view.el
b/lisp/doc-view.el
index c88f9786a3d0d0caf14d33e93df228fc9b1b76df..aca2f65d0f6f311e7889a412856d5a2c80fdbfb8 100644
(file)
--- a/
lisp/doc-view.el
+++ b/
lisp/doc-view.el
@@
-564,7
+564,10
@@
Should be invoked when the cached images aren't up-to-date."
"Generic sentinel for doc-view conversion processes."
(if (not (string-match "finished" event))
(message "DocView: process %s changed status to %s."
- (process-name proc) event)
+ (process-name proc)
+ (if (string-match "\\(.+\\)\n?\\'" event)
+ (match-string 1 event)
+ event))
(when (buffer-live-p (process-get proc 'buffer))
(with-current-buffer (process-get proc 'buffer)
(setq doc-view-current-converter-processes